package pshycomanagement

class ReviewController {
   //def beforeInterceptor = [action:this.&auth] // Solo quiten el comentario a esta linea para activar seguridad

    def index() { 
    redirect(action:list)
    }
    def scaffold = Review
def auth() {
        if(!session.user) {
            redirect(controller:"Security", action:"login")
            return false
        }
    }
}
